package com.sc.VenusQueryBeta.contract.setting;

import com.hengjun.kingstar.sdk.base.BasePresenter;
import com.hengjun.kingstar.sdk.base.IBaseFragment;
import com.hengjun.kingstar.sdk.base.IBaseModel;

import io.reactivex.Observable;

/**
 * Created by SC-02 on 2018/9/19.
 *  設置Contract(契约)接口
 */

public interface SettingContract {
    abstract  class  SettingPresenter extends BasePresenter<ISettingModel,ISettingView>{
        //退出登录
        public abstract void exit(String loginUserId);

        //test
//        public abstract void test(String demIndex,String plannedTime,String operator,String status,)
    }
    interface ISettingModel extends IBaseModel{
        //退出登录
        Observable<String> exit(String loginUserId);
    }
    interface ISettingView extends IBaseFragment{
        //退出登录
        void showNetworkError();
        void exitLoginBean(String exitLoginBean);
    }
}
